@(modelForView: model.forview.NodeSupervisingModelForView)
@main(modelForView.mainModelForView) {

<!-- CONTENT -->
<div class="span12">
	<table class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>#</th>
				<th>Имя узла</th>
				<th>Создатель</th>
				<th>Дата создания</th>
				<th>Подтвердить</th>
			</tr>
		</thead>
		<tbody>
			@for(i <- 0 until modelForView.getSizeOfNodes()){
				<tr>
					<td>@modelForView.getIndex(i)</td>
					<td><a href="@routes.Hierarchy.node(modelForView.getNodeId(i), 0)">@modelForView.getNodeTitle(i)</a></td>
					<td><a href="@routes.UserOption.getUserPage(modelForView.getNodeCreaterEmail(i))">@modelForView.getNodeCreaterName(i)</a></td>
					<td>@modelForView.getNodeCreaterDate(i)</td>
					<td><a href="@routes.Hierarchy.nodeSupervisingConfirm(modelForView.getNodeId(i))">Подтвердить</a></td>
				</tr>
			}
		</tbody>
	</table>
</div>
}
